package File;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LXW
 * Date: 2022-04-03
 * Time: 21:40
 */
public class Demo6 {
    public static void main(String[] args) {
        File dir = new File("hello/some-dir");
        System.out.println(dir.exists());
        System.out.println(dir.isFile());
        System.out.println(dir.isDirectory());
        System.out.println(dir.mkdirs());
        System.out.println(dir.exists());
        System.out.println(dir.isFile());
        System.out.println(dir.isDirectory());
        System.out.println(dir.delete());
        System.out.println(dir.isDirectory());


    }
}
